package com.wx.chapter10.interface_;

/**
 * ClassName:InterfacePolyPass
 * Package :com.wx.chapter10.interface_
 * Description :
 *
 * @Author : coder_mu
 * @Create : 2023/6/10 - 11:23
 */
public class InterfacePolyPass {
    public static void main(String[] args) {
        IH ih = new Teacher();
//        IG ig = new Teacher();
    }
}

interface IH {
}

interface IG extends IH {
}

class Teacher implements IH {
}